package io.kiki.sba.registry.server.metadata.remoting.handler;

import io.kiki.sba.registry.common.model.Node;
import io.kiki.sba.registry.server.shared.remoting.AbstractServerHandler;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.concurrent.Executor;
import java.util.concurrent.ThreadPoolExecutor;


public abstract class BaseMetaServerHandler<T> extends AbstractServerHandler<T> {

    @Autowired
    private ThreadPoolExecutor defaultRequestExecutor;

    @Override
    public Executor getExecutor() {
        return defaultRequestExecutor;
    }

    @Override
    protected Node.NodeType getConnectNodeType() {
        return null;
    }
}
